package cn.tedu._05mvcboot03.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Article {
    @ApiModelProperty(value = "文章编号",required = true)
    private Long id;
    @ApiModelProperty(value = "文章标题",required = true)
    private String title;
    @ApiModelProperty(value = "文章内容",required = true)
    private String content;
    @ApiModelProperty(value = "文章作者编号",required = true)
    private Long userId;
}
